package com.wangsb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

import java.io.PrintWriter;
import java.io.StringWriter;

/**
 * @Description: TODO
 * @author: shenbing.wang@hand-china
 * @date: 2021年02月24日 22:28
 */
@Controller
public class Exception2Controller {

    @RequestMapping("/exception03")
    public String exception02(@RequestParam("username") String username) {
        System.out.println("方法处理中03");
        return "show";
    }

}
